package day05;

public class MethodDemo1 {
    public static void main(String[] args) {
        /*say();
        sayhi("tangjun" );
    }

    public static void sayhi(String name){
        System.out.println("大家好，我叫"+name);
    }

    public  static void say(){
        System.out.println("大家好");*/say("zq",200);
        say("zq");
        say(2000,"tj");
        say(2000);
    }
    public static void say(int age,String name){
        System.out.println("今年"+age+"岁了"+"我叫唐俊");
    }
    public static void say(int age){
    }
    public static void say(String name){
        System.out.println("大家好，我叫"+name);
    }
    public static void say(String name,int age){
        System.out.println("大家好，我叫"+name+",今年"+age+"岁了");
    }
}
